﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DTO;
namespace BUS
{
    public class BUS_QLPhanCongDT
    {
        public static List<DTO_QLPhanCongDT> QlPhanCongDt_TheoMaKH_MaloaiDt(string makhoahoc, string maloaidt)
        {
            return DAO_QLPhanCongDT.QlPhanCongDt_TheoMaKH_MaloaiDt(makhoahoc, maloaidt);
        }
        public static List<DTO_QLPhanCongDT> SelectPhanCongDT()
        {
            return DAO_QLPhanCongDT.SelectPhanCongDT();
        }
        public static List<DTO_QLPhanCongDT> Select_DaDKDT(string makhoahoc, string maloaidt)
        {
            return DAO_QLPhanCongDT.Select_DaDKDT(makhoahoc,maloaidt);
        }
        public static List<DTO_QLPhanCongDT> Select_ChuaDKDT(string makhoahoc,string maloaidt)
        {
            return DAO_QLPhanCongDT.Select_ChuaDKDT(makhoahoc, maloaidt);
        }
        public static List<DTO_QLPhanCongDT> Select_DTDangThucHien(string makhoahoc, string maloaidt)
        {
            return DAO_QLPhanCongDT.Select_DTDangThucHien(makhoahoc,maloaidt);
        }
        public static List<DTO_QLPhanCongDT> Select_DTThucHienXong(string makhoahoc, string maloaidt)
        {
            return DAO_QLPhanCongDT.Select_DTThucHienXong( makhoahoc,  maloaidt);
        }
        public static bool insertQLPhanCongDT(DTO_QLPhanCongDT PCDT)
        {
            return DAO_QLPhanCongDT.insertQLPhanCongDT(PCDT);
        }
        public static bool UpdatePCDT(DTO_QLPhanCongDT PCDT, string MaDT_cu)
        {
            return DAO_QLPhanCongDT.UpdatePCDT(PCDT, MaDT_cu);
        }
        public static bool deleteQLPCDT(string ID_PCDT)
        {
            return DAO_QLPhanCongDT.deleteQLPCDT(ID_PCDT);
        }
        public static List<DTO_QLPhanCongDT> SelectPhanCongDT_TheoKhoaHoc(string makhoahoc,string maloaidt)
        {
            return DAO_QLPhanCongDT.SelectPhanCongDT_TheoKhoaHoc(makhoahoc,maloaidt);

        }
        public static bool UpdateDiem( float DiemNHD, float DiemPB, string ID_PCDT)
        {
            return DAO_QLPhanCongDT.UpdateDiem(DiemNHD, DiemPB, ID_PCDT);
        }
        public static bool KiemTraDKLoaiUpdateDT01(string MaSV, string maloaidt)
        {
            return DAO_QLPhanCongDT.KiemTraDKLoaiUpdateDT01(MaSV, maloaidt);
        }
        public static bool KiemTraDKLoaiInsertDT01(string MaSV, string maloaidt)
        {
            return DAO_QLPhanCongDT.KiemTraDKLoaiInsertDT01(MaSV, maloaidt);
        }
        public static bool KiemTraDKLoaiUpdateDT03(string MaSV, string maloaidt)
        {
            return DAO_QLPhanCongDT.KiemTraDKLoaiUpdateDT03(MaSV, maloaidt);
        }
        public static bool KiemTraDKLoaiInsertDT03(string MaSV, string maloaidt)
        {
            return DAO_QLPhanCongDT.KiemTraDKLoaiInsertDT03(MaSV, maloaidt);
        }
        public static bool KtratontaiLoaiDT03(string MaSV, string maloaidt)
        {
            return DAO_QLPhanCongDT.KtratontaiLoaiDT03(MaSV, maloaidt);
        }
    }
}
